package com.competition.common.utils.poi;

import com.competition.common.core.domain.entity.SysUser;

import java.io.*;
import java.util.List;

public class ExcelDemo {
    public static void main(String[] args) throws Exception {
        ExcelUtil<SysUser> util = new ExcelUtil<SysUser>(SysUser.class);
        File file = new File("D:\\教学工作\\2024下\\2024年下期全校教师、班级、课程课表、实训安排表\\1.xls");
        List<SysUser> userList = util.importExcel(new FileInputStream(file),1);
        System.out.println(userList);

        System.exit(1);



    }
}
